package com.liang.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.liang.pojo.Gorillaceo;
import com.liang.pojo.Role;

public interface RoleDao {
	int insertRole(Role role);

	int deleteRoleById(@Param("id")int id);

	List<Role> selectAllRole(Map<String,Object> map);

	Role selectRoleById(@Param("id")int id);

	int updateRole(Role role);

	int deleteRoleByList(Gorillaceo gorillaceo);
}
